[PATCH] util/swf: move allocation from stack to heap
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 30 Oct 2025 10:27:22 +0000 (11:27 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Thu, 23 Apr 2026 05:14:21 +0000 (07:14 +0200)
commit6f29808602f0e6e1f2fe93ccdf68927f93b867b5
tree0aa9beb88d2dafc4be1054a14277f6c3c15629da
parent6ebdc34a7b8927d7d5158ce44f5df64d9c590a72
[PATCH] util/swf: move allocation from stack to heap

As it can overflow the stack

Ticket: 8055
(cherry picked from commit a84addb771846f6d4d55ec535a4591f58369e49c)

Origin: upstream, https://github.com/OISF/suricata/commit/f67d72702a2601d0a86ac1450686e70d7176f629.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8055
Subject: Upstream fix for CVE-2025-64332

Gbp-Pq: Name CVE-2025-64332.patch
src/util-file-decompression.c